package com.mayikt.base;

import lombok.Data;

/**
 * @Auther: CHEN JIN LONG
 * @Date: 2019/1/18 21:36
 * @Description:
 */
@Data
public class BaseResponse<T> {
    /**
     * 返回状态码
     */
    private Integer code;
    /**
     * 消息
     */
    private String msg;
    /**
     * 返回值
     */
    private T data;

    public BaseResponse() {

    }

    public BaseResponse(Integer code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
